var express = require('express');
var router = express.Router();
var uglobal = require('../lib/global');

/* GET home page. */
router.get('/', function(req, res, next) {
  var user = uglobal.checkLogin(req);
  res.render('index', { title:uglobal.title ,user:user});
});
module.exports = router;
